<!-- HTML header for doxygen 1.8.13-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.15"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Bluetooth Host Stack Library: A2DP SBC Support</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
  $(document).ready(initResizable);
/* @license-end */</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen_style.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><a href="http://www.cypress.com/"><img alt="Logo" src="IFXCYP_one-line.png"/></a></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">Bluetooth Host Stack Library</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.15 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('group__wicedbt__a2dp__sbc.html','');});
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#nested-classes">Data Structures</a> &#124;
<a href="#define-members">Macros</a> &#124;
<a href="#func-members">Functions</a>  </div>
  <div class="headertitle">
<div class="title">A2DP SBC Support<div class="ingroups"><a class="el" href="group__wicedbt__av__a2d__helper.html">Helper Functions</a></div></div>  </div>
</div><!--header-->
<div class="contents">
<a name="details" id="details"></a><h2 class="groupheader">General Description</h2>
<p>This section describes A2DP Low complexity subband codec (SBC) API. </p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
Data Structures</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structwiced__bt__a2d__sbc__cie__t.html">wiced_bt_a2d_sbc_cie_t</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">data type for the SBC Codec Information Element  <a href="structwiced__bt__a2d__sbc__cie__t.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="define-members"></a>
Macros</h2></td></tr>
<tr class="memitem:ga75bed851feb764f8eb465accf8e26b42"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__wicedbt__a2dp__sbc.html#ga75bed851feb764f8eb465accf8e26b42">A2D_SBC_MPL_HDR_LEN</a>&#160;&#160;&#160;1</td></tr>
<tr class="memdesc:ga75bed851feb764f8eb465accf8e26b42"><td class="mdescLeft">&#160;</td><td class="mdescRight">the length of the SBC Media Payload header.  <a href="#ga75bed851feb764f8eb465accf8e26b42">More...</a><br /></td></tr>
<tr class="separator:ga75bed851feb764f8eb465accf8e26b42"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gacfd3a028be805f5ac88d0539f66b65f8"><td class="memItemLeft" align="right" valign="top"><a id="gacfd3a028be805f5ac88d0539f66b65f8"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__wicedbt__a2dp__sbc.html#gacfd3a028be805f5ac88d0539f66b65f8">A2D_SBC_INFO_LEN</a>&#160;&#160;&#160;6</td></tr>
<tr class="memdesc:gacfd3a028be805f5ac88d0539f66b65f8"><td class="mdescLeft">&#160;</td><td class="mdescRight">the LOSC of SBC media codec capabilitiy <br /></td></tr>
<tr class="separator:gacfd3a028be805f5ac88d0539f66b65f8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaa7fc137554dc692ca7f91148c8101113"><td class="memItemLeft" align="right" valign="top"><a id="gaa7fc137554dc692ca7f91148c8101113"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__wicedbt__a2dp__sbc.html#gaa7fc137554dc692ca7f91148c8101113">A2D_SBC_IE_MIN_BITPOOL</a>&#160;&#160;&#160;2</td></tr>
<tr class="memdesc:gaa7fc137554dc692ca7f91148c8101113"><td class="mdescLeft">&#160;</td><td class="mdescRight">Min Bitpool Value. <br /></td></tr>
<tr class="separator:gaa7fc137554dc692ca7f91148c8101113"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga5de99a75dad25d9047dc532e53124ca9"><td class="memItemLeft" align="right" valign="top"><a id="ga5de99a75dad25d9047dc532e53124ca9"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__wicedbt__a2dp__sbc.html#ga5de99a75dad25d9047dc532e53124ca9">A2D_SBC_IE_MAX_BITPOOL</a>&#160;&#160;&#160;250</td></tr>
<tr class="memdesc:ga5de99a75dad25d9047dc532e53124ca9"><td class="mdescLeft">&#160;</td><td class="mdescRight">Max Bitpool Value. <br /></td></tr>
<tr class="separator:ga5de99a75dad25d9047dc532e53124ca9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gac0d8ec995f0ba9134cbdbe4ae55cb67f"><td class="memItemLeft" align="right" valign="top"><a id="gac0d8ec995f0ba9134cbdbe4ae55cb67f"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__wicedbt__a2dp__sbc.html#gac0d8ec995f0ba9134cbdbe4ae55cb67f">A2D_SBC_HDR_F_MSK</a>&#160;&#160;&#160;0x80</td></tr>
<tr class="memdesc:gac0d8ec995f0ba9134cbdbe4ae55cb67f"><td class="mdescLeft">&#160;</td><td class="mdescRight">SBC Fragmented packet mask. <br /></td></tr>
<tr class="separator:gac0d8ec995f0ba9134cbdbe4ae55cb67f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaa271c2ba3eb800bb3ff5e38b551de8f9"><td class="memItemLeft" align="right" valign="top"><a id="gaa271c2ba3eb800bb3ff5e38b551de8f9"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__wicedbt__a2dp__sbc.html#gaa271c2ba3eb800bb3ff5e38b551de8f9">A2D_SBC_HDR_S_MSK</a>&#160;&#160;&#160;0x40</td></tr>
<tr class="memdesc:gaa271c2ba3eb800bb3ff5e38b551de8f9"><td class="mdescLeft">&#160;</td><td class="mdescRight">SBC starting packet mask. <br /></td></tr>
<tr class="separator:gaa271c2ba3eb800bb3ff5e38b551de8f9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga8de5578daab3debb7817b00a3611d40e"><td class="memItemLeft" align="right" valign="top"><a id="ga8de5578daab3debb7817b00a3611d40e"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__wicedbt__a2dp__sbc.html#ga8de5578daab3debb7817b00a3611d40e">A2D_SBC_HDR_L_MSK</a>&#160;&#160;&#160;0x20</td></tr>
<tr class="memdesc:ga8de5578daab3debb7817b00a3611d40e"><td class="mdescLeft">&#160;</td><td class="mdescRight">SBC last packet mask. <br /></td></tr>
<tr class="separator:ga8de5578daab3debb7817b00a3611d40e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga5099e09cd4e8e29e6a68d2e8a7b7dfbc"><td class="memItemLeft" align="right" valign="top"><a id="ga5099e09cd4e8e29e6a68d2e8a7b7dfbc"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__wicedbt__a2dp__sbc.html#ga5099e09cd4e8e29e6a68d2e8a7b7dfbc">A2D_SBC_HDR_NUM_MSK</a>&#160;&#160;&#160;0x0F</td></tr>
<tr class="memdesc:ga5099e09cd4e8e29e6a68d2e8a7b7dfbc"><td class="mdescLeft">&#160;</td><td class="mdescRight">SBC number of frame mask. <br /></td></tr>
<tr class="separator:ga5099e09cd4e8e29e6a68d2e8a7b7dfbc"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:ga2f7be66871476b08d1072024e3aac784"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__wicedbt__a2dp__sbc.html#ga2f7be66871476b08d1072024e3aac784">wiced_bt_a2d_sbc_chk_fr_init</a> (uint8_t *p_pkt)</td></tr>
<tr class="memdesc:ga2f7be66871476b08d1072024e3aac784"><td class="mdescLeft">&#160;</td><td class="mdescRight">Check if control block descrambling needs to be initiated.  <a href="#ga2f7be66871476b08d1072024e3aac784">More...</a><br /></td></tr>
<tr class="separator:ga2f7be66871476b08d1072024e3aac784"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga97c294adaf1a468c69bf1a232c035468"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__wicedbt__a2dp__sbc.html#ga97c294adaf1a468c69bf1a232c035468">wiced_bt_a2d_sbc_descramble</a> (uint8_t *p_pkt, uint16_t len)</td></tr>
<tr class="memdesc:ga97c294adaf1a468c69bf1a232c035468"><td class="mdescLeft">&#160;</td><td class="mdescRight">Descramble packet.  <a href="#ga97c294adaf1a468c69bf1a232c035468">More...</a><br /></td></tr>
<tr class="separator:ga97c294adaf1a468c69bf1a232c035468"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga6c1fd4afe6fb8d7b9b3b3ceb19d7f06d"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__wicedbt__av__a2d__helper.html#ga6a78ee8aece921283d90e5a721436925">wiced_bt_a2d_status_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__wicedbt__a2dp__sbc.html#ga6c1fd4afe6fb8d7b9b3b3ceb19d7f06d">wiced_bt_a2d_bld_sbc_info</a> (uint8_t media_type, const <a class="el" href="structwiced__bt__a2d__sbc__cie__t.html">wiced_bt_a2d_sbc_cie_t</a> *p_ie, uint8_t *p_result)</td></tr>
<tr class="memdesc:ga6c1fd4afe6fb8d7b9b3b3ceb19d7f06d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Build SBC Media Codec Capabilities byte sequence (beginning from the LOSC octet)  <a href="#ga6c1fd4afe6fb8d7b9b3b3ceb19d7f06d">More...</a><br /></td></tr>
<tr class="separator:ga6c1fd4afe6fb8d7b9b3b3ceb19d7f06d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga612847aeb5600eb2f506293ab10a20f3"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__wicedbt__av__a2d__helper.html#ga6a78ee8aece921283d90e5a721436925">wiced_bt_a2d_status_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__wicedbt__a2dp__sbc.html#ga612847aeb5600eb2f506293ab10a20f3">wiced_bt_a2d_pars_sbc_info</a> (<a class="el" href="structwiced__bt__a2d__sbc__cie__t.html">wiced_bt_a2d_sbc_cie_t</a> *p_ie, uint8_t *p_info, <a class="el" href="group__gentypes.html#ga2bc92bd117cfd3f6ec4ae452e6ced064">wiced_bool_t</a> for_caps)</td></tr>
<tr class="memdesc:ga612847aeb5600eb2f506293ab10a20f3"><td class="mdescLeft">&#160;</td><td class="mdescRight">Parse SBC Media Codec Capabilities byte sequence (beginning from the LOSC octet)  <a href="#ga612847aeb5600eb2f506293ab10a20f3">More...</a><br /></td></tr>
<tr class="separator:ga612847aeb5600eb2f506293ab10a20f3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaa67f965fce30c36fea4d87552aaa170b"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__wicedbt__a2dp__sbc.html#gaa67f965fce30c36fea4d87552aaa170b">wiced_bt_a2d_bld_sbc_mpl_hdr</a> (uint8_t *p_dst, <a class="el" href="group__gentypes.html#ga2bc92bd117cfd3f6ec4ae452e6ced064">wiced_bool_t</a> frag, <a class="el" href="group__gentypes.html#ga2bc92bd117cfd3f6ec4ae452e6ced064">wiced_bool_t</a> start, <a class="el" href="group__gentypes.html#ga2bc92bd117cfd3f6ec4ae452e6ced064">wiced_bool_t</a> last, uint8_t num)</td></tr>
<tr class="memdesc:gaa67f965fce30c36fea4d87552aaa170b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Build SBC Media Payload header.  <a href="#gaa67f965fce30c36fea4d87552aaa170b">More...</a><br /></td></tr>
<tr class="separator:gaa67f965fce30c36fea4d87552aaa170b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaa6c278e58119cb58c4e2572bb12fa42d"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__wicedbt__a2dp__sbc.html#gaa6c278e58119cb58c4e2572bb12fa42d">wiced_bt_a2d_pars_sbc_mpl_hdr</a> (uint8_t *p_src, <a class="el" href="group__gentypes.html#ga2bc92bd117cfd3f6ec4ae452e6ced064">wiced_bool_t</a> *p_frag, <a class="el" href="group__gentypes.html#ga2bc92bd117cfd3f6ec4ae452e6ced064">wiced_bool_t</a> *p_start, <a class="el" href="group__gentypes.html#ga2bc92bd117cfd3f6ec4ae452e6ced064">wiced_bool_t</a> *p_last, uint8_t *p_num)</td></tr>
<tr class="memdesc:gaa6c278e58119cb58c4e2572bb12fa42d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Parse SBC Media Payload header.  <a href="#gaa6c278e58119cb58c4e2572bb12fa42d">More...</a><br /></td></tr>
<tr class="separator:gaa6c278e58119cb58c4e2572bb12fa42d"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="member-group"></a>
SBC Sampling Frequency.</h2></td></tr>
<tr><td class="ititle" colspan="2"><p><a class="anchor" id="amgrp42ef2deb1e4ce4cfad48d6b0c5bf9be4"></a><a class="anchor" id="A2D_SBC_SF"></a></p>
</td></tr>
<tr class="memitem:ga0875a34d7bcd56e970ceced936fde5b9"><td class="memItemLeft" align="right" valign="top"><a id="ga0875a34d7bcd56e970ceced936fde5b9"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__wicedbt__a2dp__sbc.html#ga0875a34d7bcd56e970ceced936fde5b9">A2D_SBC_IE_SAMP_FREQ_MSK</a>&#160;&#160;&#160;0xF0</td></tr>
<tr class="memdesc:ga0875a34d7bcd56e970ceced936fde5b9"><td class="mdescLeft">&#160;</td><td class="mdescRight">b7-b4 sampling frequency <br /></td></tr>
<tr class="separator:ga0875a34d7bcd56e970ceced936fde5b9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaaafd890bd0488411c2fd4843c3c933b8"><td class="memItemLeft" align="right" valign="top"><a id="gaaafd890bd0488411c2fd4843c3c933b8"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__wicedbt__a2dp__sbc.html#gaaafd890bd0488411c2fd4843c3c933b8">A2D_SBC_IE_SAMP_FREQ_16</a>&#160;&#160;&#160;0x80</td></tr>
<tr class="memdesc:gaaafd890bd0488411c2fd4843c3c933b8"><td class="mdescLeft">&#160;</td><td class="mdescRight">b7:16 kHz <br /></td></tr>
<tr class="separator:gaaafd890bd0488411c2fd4843c3c933b8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaf10fa75e1e971f7e8e5b68371bafda0c"><td class="memItemLeft" align="right" valign="top"><a id="gaf10fa75e1e971f7e8e5b68371bafda0c"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__wicedbt__a2dp__sbc.html#gaf10fa75e1e971f7e8e5b68371bafda0c">A2D_SBC_IE_SAMP_FREQ_32</a>&#160;&#160;&#160;0x40</td></tr>
<tr class="memdesc:gaf10fa75e1e971f7e8e5b68371bafda0c"><td class="mdescLeft">&#160;</td><td class="mdescRight">b6:32 kHz <br /></td></tr>
<tr class="separator:gaf10fa75e1e971f7e8e5b68371bafda0c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gac9a52ace06c33f0c7c0ab4779b96bc10"><td class="memItemLeft" align="right" valign="top"><a id="gac9a52ace06c33f0c7c0ab4779b96bc10"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__wicedbt__a2dp__sbc.html#gac9a52ace06c33f0c7c0ab4779b96bc10">A2D_SBC_IE_SAMP_FREQ_44</a>&#160;&#160;&#160;0x20</td></tr>
<tr class="memdesc:gac9a52ace06c33f0c7c0ab4779b96bc10"><td class="mdescLeft">&#160;</td><td class="mdescRight">b5:44.1kHz <br /></td></tr>
<tr class="separator:gac9a52ace06c33f0c7c0ab4779b96bc10"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gab2f9354ff7c2e2e6d8e035fba42da4b0"><td class="memItemLeft" align="right" valign="top"><a id="gab2f9354ff7c2e2e6d8e035fba42da4b0"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__wicedbt__a2dp__sbc.html#gab2f9354ff7c2e2e6d8e035fba42da4b0">A2D_SBC_IE_SAMP_FREQ_48</a>&#160;&#160;&#160;0x10</td></tr>
<tr class="memdesc:gab2f9354ff7c2e2e6d8e035fba42da4b0"><td class="mdescLeft">&#160;</td><td class="mdescRight">b4:48 kHz <br /></td></tr>
<tr class="separator:gab2f9354ff7c2e2e6d8e035fba42da4b0"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="member-group"></a>
SBC Channel Mode.</h2></td></tr>
<tr><td class="ititle" colspan="2"><p><a class="anchor" id="amgrp3c62783f0801deb597837d370b3ce4bc"></a><a class="anchor" id="A2D_SBC_CH_MD"></a></p>
</td></tr>
<tr class="memitem:ga9cd6978f5115b7f202797ccc675cc4ee"><td class="memItemLeft" align="right" valign="top"><a id="ga9cd6978f5115b7f202797ccc675cc4ee"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__wicedbt__a2dp__sbc.html#ga9cd6978f5115b7f202797ccc675cc4ee">A2D_SBC_IE_CH_MD_MSK</a>&#160;&#160;&#160;0x0F</td></tr>
<tr class="memdesc:ga9cd6978f5115b7f202797ccc675cc4ee"><td class="mdescLeft">&#160;</td><td class="mdescRight">b3-b0 channel mode <br /></td></tr>
<tr class="separator:ga9cd6978f5115b7f202797ccc675cc4ee"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gab1a8feb06753b42b827d87cdaeea4752"><td class="memItemLeft" align="right" valign="top"><a id="gab1a8feb06753b42b827d87cdaeea4752"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__wicedbt__a2dp__sbc.html#gab1a8feb06753b42b827d87cdaeea4752">A2D_SBC_IE_CH_MD_MONO</a>&#160;&#160;&#160;0x08</td></tr>
<tr class="memdesc:gab1a8feb06753b42b827d87cdaeea4752"><td class="mdescLeft">&#160;</td><td class="mdescRight">b3: mono <br /></td></tr>
<tr class="separator:gab1a8feb06753b42b827d87cdaeea4752"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gac335a48ea5cf1f83897a21424156a52c"><td class="memItemLeft" align="right" valign="top"><a id="gac335a48ea5cf1f83897a21424156a52c"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__wicedbt__a2dp__sbc.html#gac335a48ea5cf1f83897a21424156a52c">A2D_SBC_IE_CH_MD_DUAL</a>&#160;&#160;&#160;0x04</td></tr>
<tr class="memdesc:gac335a48ea5cf1f83897a21424156a52c"><td class="mdescLeft">&#160;</td><td class="mdescRight">b2: dual <br /></td></tr>
<tr class="separator:gac335a48ea5cf1f83897a21424156a52c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga9a252ca51e18ff6365402654cb75d94d"><td class="memItemLeft" align="right" valign="top"><a id="ga9a252ca51e18ff6365402654cb75d94d"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__wicedbt__a2dp__sbc.html#ga9a252ca51e18ff6365402654cb75d94d">A2D_SBC_IE_CH_MD_STEREO</a>&#160;&#160;&#160;0x02</td></tr>
<tr class="memdesc:ga9a252ca51e18ff6365402654cb75d94d"><td class="mdescLeft">&#160;</td><td class="mdescRight">b1: stereo <br /></td></tr>
<tr class="separator:ga9a252ca51e18ff6365402654cb75d94d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaf9e2a58af50fe0f62d5da89d89701a18"><td class="memItemLeft" align="right" valign="top"><a id="gaf9e2a58af50fe0f62d5da89d89701a18"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__wicedbt__a2dp__sbc.html#gaf9e2a58af50fe0f62d5da89d89701a18">A2D_SBC_IE_CH_MD_JOINT</a>&#160;&#160;&#160;0x01</td></tr>
<tr class="memdesc:gaf9e2a58af50fe0f62d5da89d89701a18"><td class="mdescLeft">&#160;</td><td class="mdescRight">b0: joint stereo <br /></td></tr>
<tr class="separator:gaf9e2a58af50fe0f62d5da89d89701a18"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="member-group"></a>
SBC Block Length.</h2></td></tr>
<tr><td class="ititle" colspan="2"><p><a class="anchor" id="amgrp7496d54b4dde569026d25749e7c1655b"></a><a class="anchor" id="A2D_SBC_BLOCK_LEN"></a></p>
</td></tr>
<tr class="memitem:ga6e389992c89ff00ac29d228f0f5e2294"><td class="memItemLeft" align="right" valign="top"><a id="ga6e389992c89ff00ac29d228f0f5e2294"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__wicedbt__a2dp__sbc.html#ga6e389992c89ff00ac29d228f0f5e2294">A2D_SBC_IE_BLOCKS_MSK</a>&#160;&#160;&#160;0xF0</td></tr>
<tr class="memdesc:ga6e389992c89ff00ac29d228f0f5e2294"><td class="mdescLeft">&#160;</td><td class="mdescRight">b7-b4 number of blocks <br /></td></tr>
<tr class="separator:ga6e389992c89ff00ac29d228f0f5e2294"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga6d2f0e9a69d5918a088c7ba0a24b924c"><td class="memItemLeft" align="right" valign="top"><a id="ga6d2f0e9a69d5918a088c7ba0a24b924c"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__wicedbt__a2dp__sbc.html#ga6d2f0e9a69d5918a088c7ba0a24b924c">A2D_SBC_IE_BLOCKS_4</a>&#160;&#160;&#160;0x80</td></tr>
<tr class="memdesc:ga6d2f0e9a69d5918a088c7ba0a24b924c"><td class="mdescLeft">&#160;</td><td class="mdescRight">4 blocks <br /></td></tr>
<tr class="separator:ga6d2f0e9a69d5918a088c7ba0a24b924c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gadf21be8526f4269f58a6da6c3c85e6e8"><td class="memItemLeft" align="right" valign="top"><a id="gadf21be8526f4269f58a6da6c3c85e6e8"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__wicedbt__a2dp__sbc.html#gadf21be8526f4269f58a6da6c3c85e6e8">A2D_SBC_IE_BLOCKS_8</a>&#160;&#160;&#160;0x40</td></tr>
<tr class="memdesc:gadf21be8526f4269f58a6da6c3c85e6e8"><td class="mdescLeft">&#160;</td><td class="mdescRight">8 blocks <br /></td></tr>
<tr class="separator:gadf21be8526f4269f58a6da6c3c85e6e8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gad8c7d220fc309e0df51077fe57ab9a3d"><td class="memItemLeft" align="right" valign="top"><a id="gad8c7d220fc309e0df51077fe57ab9a3d"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__wicedbt__a2dp__sbc.html#gad8c7d220fc309e0df51077fe57ab9a3d">A2D_SBC_IE_BLOCKS_12</a>&#160;&#160;&#160;0x20</td></tr>
<tr class="memdesc:gad8c7d220fc309e0df51077fe57ab9a3d"><td class="mdescLeft">&#160;</td><td class="mdescRight">12blocks <br /></td></tr>
<tr class="separator:gad8c7d220fc309e0df51077fe57ab9a3d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga5ccd4974431d76f31cd54f76ced9b9f7"><td class="memItemLeft" align="right" valign="top"><a id="ga5ccd4974431d76f31cd54f76ced9b9f7"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__wicedbt__a2dp__sbc.html#ga5ccd4974431d76f31cd54f76ced9b9f7">A2D_SBC_IE_BLOCKS_16</a>&#160;&#160;&#160;0x10</td></tr>
<tr class="memdesc:ga5ccd4974431d76f31cd54f76ced9b9f7"><td class="mdescLeft">&#160;</td><td class="mdescRight">16blocks <br /></td></tr>
<tr class="separator:ga5ccd4974431d76f31cd54f76ced9b9f7"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="member-group"></a>
SBC Subband Number.</h2></td></tr>
<tr><td class="ititle" colspan="2"><p><a class="anchor" id="amgrpb8dd41bd717ef6e51a59499a441c9bb0"></a><a class="anchor" id="A2D_SBC_SUBBAND_NUM"></a></p>
</td></tr>
<tr class="memitem:gade83c932ff7ec297e743c60376523b1c"><td class="memItemLeft" align="right" valign="top"><a id="gade83c932ff7ec297e743c60376523b1c"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__wicedbt__a2dp__sbc.html#gade83c932ff7ec297e743c60376523b1c">A2D_SBC_IE_SUBBAND_MSK</a>&#160;&#160;&#160;0x0C</td></tr>
<tr class="memdesc:gade83c932ff7ec297e743c60376523b1c"><td class="mdescLeft">&#160;</td><td class="mdescRight">b3-b2 number of subbands <br /></td></tr>
<tr class="separator:gade83c932ff7ec297e743c60376523b1c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gac7212611688f49bdee87db0cef15937d"><td class="memItemLeft" align="right" valign="top"><a id="gac7212611688f49bdee87db0cef15937d"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__wicedbt__a2dp__sbc.html#gac7212611688f49bdee87db0cef15937d">A2D_SBC_IE_SUBBAND_4</a>&#160;&#160;&#160;0x08</td></tr>
<tr class="memdesc:gac7212611688f49bdee87db0cef15937d"><td class="mdescLeft">&#160;</td><td class="mdescRight">b3: 4 <br /></td></tr>
<tr class="separator:gac7212611688f49bdee87db0cef15937d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gae544f65539110d63714d56a626ca62a7"><td class="memItemLeft" align="right" valign="top"><a id="gae544f65539110d63714d56a626ca62a7"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__wicedbt__a2dp__sbc.html#gae544f65539110d63714d56a626ca62a7">A2D_SBC_IE_SUBBAND_8</a>&#160;&#160;&#160;0x04</td></tr>
<tr class="memdesc:gae544f65539110d63714d56a626ca62a7"><td class="mdescLeft">&#160;</td><td class="mdescRight">b2: 8 <br /></td></tr>
<tr class="separator:gae544f65539110d63714d56a626ca62a7"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="member-group"></a>
SBC Allocation Method.</h2></td></tr>
<tr><td class="ititle" colspan="2"><p><a class="anchor" id="amgrp00b41bf76657072f66ca7126ec0e8fa1"></a><a class="anchor" id="A2D_SBC_ALLOC_MD"></a></p>
</td></tr>
<tr class="memitem:ga0bb2ff241cc25557290d3ae971385ea1"><td class="memItemLeft" align="right" valign="top"><a id="ga0bb2ff241cc25557290d3ae971385ea1"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__wicedbt__a2dp__sbc.html#ga0bb2ff241cc25557290d3ae971385ea1">A2D_SBC_IE_ALLOC_MD_MSK</a>&#160;&#160;&#160;0x03</td></tr>
<tr class="memdesc:ga0bb2ff241cc25557290d3ae971385ea1"><td class="mdescLeft">&#160;</td><td class="mdescRight">b1-b0 allocation mode <br /></td></tr>
<tr class="separator:ga0bb2ff241cc25557290d3ae971385ea1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaedb2a338ac243d8ac787921a79f824ad"><td class="memItemLeft" align="right" valign="top"><a id="gaedb2a338ac243d8ac787921a79f824ad"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__wicedbt__a2dp__sbc.html#gaedb2a338ac243d8ac787921a79f824ad">A2D_SBC_IE_ALLOC_MD_S</a>&#160;&#160;&#160;0x02</td></tr>
<tr class="memdesc:gaedb2a338ac243d8ac787921a79f824ad"><td class="mdescLeft">&#160;</td><td class="mdescRight">b1: SNR <br /></td></tr>
<tr class="separator:gaedb2a338ac243d8ac787921a79f824ad"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga526bc7320ebade2c82920f840359034c"><td class="memItemLeft" align="right" valign="top"><a id="ga526bc7320ebade2c82920f840359034c"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__wicedbt__a2dp__sbc.html#ga526bc7320ebade2c82920f840359034c">A2D_SBC_IE_ALLOC_MD_L</a>&#160;&#160;&#160;0x01</td></tr>
<tr class="memdesc:ga526bc7320ebade2c82920f840359034c"><td class="mdescLeft">&#160;</td><td class="mdescRight">b0: loundess <br /></td></tr>
<tr class="separator:ga526bc7320ebade2c82920f840359034c"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">Macro Definition Documentation</h2>
<a id="ga75bed851feb764f8eb465accf8e26b42"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga75bed851feb764f8eb465accf8e26b42">&#9670;&nbsp;</a></span>A2D_SBC_MPL_HDR_LEN</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define A2D_SBC_MPL_HDR_LEN&#160;&#160;&#160;1</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>the length of the SBC Media Payload header. </p>

</div>
</div>
<h2 class="groupheader">Function Documentation</h2>
<a id="ga2f7be66871476b08d1072024e3aac784"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga2f7be66871476b08d1072024e3aac784">&#9670;&nbsp;</a></span>wiced_bt_a2d_sbc_chk_fr_init()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void wiced_bt_a2d_sbc_chk_fr_init </td>
          <td>(</td>
          <td class="paramtype">uint8_t *&#160;</td>
          <td class="paramname"><em>p_pkt</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Check if control block descrambling needs to be initiated. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">p_pkt</td><td>: Pointer to the incoming data</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None </dd></dl>

</div>
</div>
<a id="ga97c294adaf1a468c69bf1a232c035468"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga97c294adaf1a468c69bf1a232c035468">&#9670;&nbsp;</a></span>wiced_bt_a2d_sbc_descramble()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void wiced_bt_a2d_sbc_descramble </td>
          <td>(</td>
          <td class="paramtype">uint8_t *&#160;</td>
          <td class="paramname"><em>p_pkt</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint16_t&#160;</td>
          <td class="paramname"><em>len</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Descramble packet. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">p_pkt</td><td>: Pointer to the incoming data </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">len</td><td>: Size of the data</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None </dd></dl>

</div>
</div>
<a id="ga6c1fd4afe6fb8d7b9b3b3ceb19d7f06d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga6c1fd4afe6fb8d7b9b3b3ceb19d7f06d">&#9670;&nbsp;</a></span>wiced_bt_a2d_bld_sbc_info()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group__wicedbt__av__a2d__helper.html#ga6a78ee8aece921283d90e5a721436925">wiced_bt_a2d_status_t</a> wiced_bt_a2d_bld_sbc_info </td>
          <td>(</td>
          <td class="paramtype">uint8_t&#160;</td>
          <td class="paramname"><em>media_type</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="structwiced__bt__a2d__sbc__cie__t.html">wiced_bt_a2d_sbc_cie_t</a> *&#160;</td>
          <td class="paramname"><em>p_ie</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint8_t *&#160;</td>
          <td class="paramname"><em>p_result</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Build SBC Media Codec Capabilities byte sequence (beginning from the LOSC octet) </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">media_type</td><td>: Media type, audio or multimedia </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">p_ie</td><td>: Pointer to the SBC codec information element </td></tr>
    <tr><td class="paramdir">[out]</td><td class="paramname">p_result</td><td>: Pointer to the built codec info byte stream</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Status code (see <a class="el" href="group__wicedbt__av__a2d__helper.html#A2D_STATUS">A2DP status codes</a>) <b> A2D_SUCCESS </b> if successful, otherwise error. </dd></dl>

</div>
</div>
<a id="ga612847aeb5600eb2f506293ab10a20f3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga612847aeb5600eb2f506293ab10a20f3">&#9670;&nbsp;</a></span>wiced_bt_a2d_pars_sbc_info()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group__wicedbt__av__a2d__helper.html#ga6a78ee8aece921283d90e5a721436925">wiced_bt_a2d_status_t</a> wiced_bt_a2d_pars_sbc_info </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structwiced__bt__a2d__sbc__cie__t.html">wiced_bt_a2d_sbc_cie_t</a> *&#160;</td>
          <td class="paramname"><em>p_ie</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint8_t *&#160;</td>
          <td class="paramname"><em>p_info</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="group__gentypes.html#ga2bc92bd117cfd3f6ec4ae452e6ced064">wiced_bool_t</a>&#160;</td>
          <td class="paramname"><em>for_caps</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Parse SBC Media Codec Capabilities byte sequence (beginning from the LOSC octet) </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">p_info</td><td>: Pointer to the byte stream to parse </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">for_caps</td><td>: True if the byte stream is for get capabilities response </td></tr>
    <tr><td class="paramdir">[out]</td><td class="paramname">p_ie</td><td>: Pointer to the parsed codec info byte sequence</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Status code (see <a class="el" href="group__wicedbt__av__a2d__helper.html#A2D_STATUS">A2DP status codes</a>) <b> A2D_SUCCESS </b> if successful, otherwise error. </dd></dl>

</div>
</div>
<a id="gaa67f965fce30c36fea4d87552aaa170b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gaa67f965fce30c36fea4d87552aaa170b">&#9670;&nbsp;</a></span>wiced_bt_a2d_bld_sbc_mpl_hdr()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void wiced_bt_a2d_bld_sbc_mpl_hdr </td>
          <td>(</td>
          <td class="paramtype">uint8_t *&#160;</td>
          <td class="paramname"><em>p_dst</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="group__gentypes.html#ga2bc92bd117cfd3f6ec4ae452e6ced064">wiced_bool_t</a>&#160;</td>
          <td class="paramname"><em>frag</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="group__gentypes.html#ga2bc92bd117cfd3f6ec4ae452e6ced064">wiced_bool_t</a>&#160;</td>
          <td class="paramname"><em>start</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="group__gentypes.html#ga2bc92bd117cfd3f6ec4ae452e6ced064">wiced_bool_t</a>&#160;</td>
          <td class="paramname"><em>last</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint8_t&#160;</td>
          <td class="paramname"><em>num</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Build SBC Media Payload header. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">frag</td><td>: 1, if fragmented. 0, otherwise. </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">start</td><td>: 1, if the starting packet of a fragmented frame. </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">last</td><td>: 1, if the last packet of a fragmented frame. </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">num</td><td>: If frag is 1, this is the number of remaining fragments (including this fragment) of this frame. If frag is 0, this is the number of frames in this packet. </td></tr>
    <tr><td class="paramdir">[out]</td><td class="paramname">p_dst</td><td>: Pointer to the built media payload header byte</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None </dd></dl>

</div>
</div>
<a id="gaa6c278e58119cb58c4e2572bb12fa42d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gaa6c278e58119cb58c4e2572bb12fa42d">&#9670;&nbsp;</a></span>wiced_bt_a2d_pars_sbc_mpl_hdr()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void wiced_bt_a2d_pars_sbc_mpl_hdr </td>
          <td>(</td>
          <td class="paramtype">uint8_t *&#160;</td>
          <td class="paramname"><em>p_src</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="group__gentypes.html#ga2bc92bd117cfd3f6ec4ae452e6ced064">wiced_bool_t</a> *&#160;</td>
          <td class="paramname"><em>p_frag</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="group__gentypes.html#ga2bc92bd117cfd3f6ec4ae452e6ced064">wiced_bool_t</a> *&#160;</td>
          <td class="paramname"><em>p_start</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="group__gentypes.html#ga2bc92bd117cfd3f6ec4ae452e6ced064">wiced_bool_t</a> *&#160;</td>
          <td class="paramname"><em>p_last</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint8_t *&#160;</td>
          <td class="paramname"><em>p_num</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Parse SBC Media Payload header. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">p_src</td><td>: Pointer to the byte stream to parse </td></tr>
    <tr><td class="paramdir">[out]</td><td class="paramname">p_frag</td><td>: 1, if fragmented. 0, otherwise. </td></tr>
    <tr><td class="paramdir">[out]</td><td class="paramname">p_start</td><td>: 1, if the starting packet of a fragmented frame. </td></tr>
    <tr><td class="paramdir">[out]</td><td class="paramname">p_last</td><td>: 1, if the last packet of a fragmented frame. </td></tr>
    <tr><td class="paramdir">[out]</td><td class="paramname">p_num</td><td>: If frag is 1, this is the number of remaining fragments (including this fragment) of this frame. If frag is 0, this is the number of frames in this packet.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None </dd></dl>

</div>
</div>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath">
    <ul>
        <li class="footer">
            Generated for <b>Bluetooth Host Stack Library</b> by <b>Cypress Semiconductor Corporation</b>.
            All rights reserved.
        </li>
    </ul>
</div>
</body>
</html>
